﻿using System;
using System.Windows;
using System.Collections.Generic;

namespace Sonce
{
	public class ElementType : IElementType
	{
		#region IElementType Members
		public int Id
		{
			get;
			set;
		}

		public string Name
		{
			get;
			set;
		}

		public string Image
		{
			get;
			set;
		}

		public List<Point> Nodes
		{
			get;
			set;
		}
		#endregion

		#region Static properties
		public static IElementType Resistor
		{
			get
			{
				return new ElementType() { Name = "Resistor" };
			}
		}

		public static IElementType Capacitor
		{
			get
			{
				return new ElementType() { Name = "Capacitor" };
			}
		}
		#endregion
	}
}
